#pragma comment(linker,"/STACK:100000000")
#include "testlib.h"
#include <stdio.h>
#define mod 1000000007
int main(int argc, char * argv[])
{
    registerTestlibCmd(argc, argv);
    int n, p, a, k, t, i;
	n=inf.readInt();
	p=inf.readInt();
	t=inf.readInt();
	for(i=1; i<=t; i++)
	{
		a=ans.readInt();
		k=ouf.readInt(0, mod-1, "v_i");
		if(k!=a) quitf(_wa, "expected %d, found %d on the %d-th test case", a, k, i);
	}
	quitf(_ok, "%d test cases", t);
}